class Pez {

    String nombre
    boolean activo
    String ip

    static hasMany = [atributos:Atributo]

    static constraints = {
    }

    public String toString(){
        return "${nombre} (${ip})"
    }
}
